package com.dmz.questysf.server;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component;

/**
 * @author lee
 */
@Component
public class YsfServerStarter implements ApplicationRunner {

    @Autowired
    private YsfServer ysfServer;

    @Override
    public void run(ApplicationArguments args) {
        ysfServer.startServer();
    }
}
